﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;

namespace Brouteforce.NewManagers {
    public abstract class Manager {
        protected int UpdateLoopIndex = 0;
        public abstract void Draw(GameTime gameTime, BFGame game);
        protected abstract void _Update(GameTime gameTime, BFGame game);
        public abstract void LoadContent(ContentManager content);
        public abstract void Initialize();
        public void Update(GameTime gameTime, BFGame game) {
            _Update(gameTime, game);
            UpdateLoopIndex = BFGame.LoopIndex;
        }

    }
}
